package com.tarena.lbs.business.dao.repository;


import com.tarena.lbs.business.pojo.param.BusinessParam;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;


import java.util.List;


public interface BusinessRepository {

    List<BusinessPO> findPage(BusinessQuery query);

    BusinessPO selectByNickname(String businessName);

    Integer saveBusiness(BusinessParam param);

    BusinessPO selectById(Integer businessId);

    void updateBusiness(BusinessPO businessPO);
}
